package com.holly.unit.system.integration.modular.system.api;

import com.holly.unit.scanner.api.annotation.ApiResource;
import com.holly.unit.scanner.api.annotation.GetResource;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;

/**
 * API文档管理
 *
 * @author holly
 * @date 2021/1/14 21:05
 */
@Controller
@ApiResource(name = "API文档管理")
@Api(tags = "API文档管理")
public class ApiViewController {

    /**
     * 编辑应用界面
     *
     * @author holly
     * @date 2021/1/6 13:37
     */
    @ApiOperation(value = "API文档界面" ,notes = "API文档界面")
    @GetResource(name = "API文档界面", path = "/view/api")
    public String apiIndex() {
        return "/modular/system/api/api.html";
    }

}
